Home } Calculators } Stock Calculator



Deciding when to buying and sell stocks is difficult enough - figuring the profit or loss from that trade shouldn't have to be. Just enter the number of shares, your purchase price, your selling price, and the commission fees for the trade and this script instantly figures your resulting profit or loss after commission fees.
Shares
Symbol
Purchase Price *
Sell Price *
Buy commission
Sell Commission
Purchased For
Sold For
Result

* Remember to convert fractions to decimals!

JavaScript Source Code 2002: Calculators: Stock Calculator

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!